home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Newsletters / GEnieUnixNews / unxnl-03.90 < prev    next >
Text File  |  1992-12-27  |  14KB  |  344 lines

  1.  
  2.           _ __  _   _ __ _ __
  3.          // /  //| // || \\|     N E W S
  4.         //_/  // |//  ||  |\\    Vol 1, Issue 4 - March 1990
  5.          R o u n d T a b l e
  6.  
  7.    Items of interest to participants of the GEnie Unix RoundTable
  8.  
  9.       The RoundTable SysOps are:
  10.       Dave Weinstein......OLORIN     Gary Smith..........GARS
  11.       Christopher Cilley..CC         Chris North-Keys....HARP
  12.       Rick Mobley.........LRARK    All Unix SysOps.....UNIXSYSOPS$
  13.    We strongly encourage you to contact any or all of us if you have -ANY-
  14.  comments or suggestions. This is -YOUR- RoundTable. We are here to make
  15.  your participation as pleasant and beneficial as possible.
  16.  
  17.  ED: editor notes (Read all about us)
  18.  --
  19.    It has become  VERY  difficult  for anyone to pretend an unawareness of
  20. the  presence of a GEnie  Unix RoundTable. In the March issue of 'Computer
  21. Shopper', page 541, in Mike Banks ONLINE ! column we get a three paragraph
  22. notice. In the March issue  of 'Unix World', page 22,  in the PRODUCT NEWS
  23. section two of the three paragraph notice is devoted to the Unix RoundTable.
  24. In the March/April issue of GEnie's own 'LiveWire', page5, the GEnie Unix
  25. RoundTable receives a nice 1/3 page announcement.
  26.   On 28 February your Unix RT SysOps were the guests on the GENIEus Round-
  27. Table. If any of you are interested, here's where to get your copy :
  28.  
  29.   The GEnie Users RoundTable (GENIEus) is located on page 150.
  30.     *********************************
  31.     Number: 143  Name: UNIXRT.MTS
  32.     Address: MIDNITE  Date: 900304
  33.     Approximate # of Bytes: 17640
  34.     Number of Accesses: 3  Library: 6
  35.     Description:
  36.   This file is the extremely informative transcripts of the Unix RT Meet
  37.   the SysOps conference.  A relatively new RoundTable on GEnie, the Unix RT
  38.   has begun to put together a huge library of Unix-related information and
  39.   help.  This is a text file, so it can be (L)isted instead of (D)ownloaded.
  40.   Keywords: Friday, RTC, Meet, SysOps, Unix, .MTS
  41.   ---------------------------------
  42.   We are pleased to have all these public notices. They will, no doubt, help
  43. attract new users. When newcomers arrive we want to be certain they find the
  44. welcome mat out and the house in order. That's where our current users, and
  45. old friends can help. Leave e-mail to UNIXSYSOP$ if you see something you
  46. think needs to be fixed. We are also happy to help if there is a file you
  47. need help with or a system problem you are fighting. It CANNOT be said often
  48. enough, post those problems to the bulletin board first. That way others
  49. with a similar problem will also benefit from the help you receive, and you
  50. will benefit from the larger body of advice. There are some extremely skilled
  51. users/programmers/administrators on this RT. Let them help us help you !
  52.  
  53. ioreq: Yes, I am still soliciting your input to the newsletter. Send your
  54. -----       complaints, suggestions, short scripts, hints and tips to GARS.
  55.  
  56. Sub: New Unix RT SysOp
  57. ----------------------
  58. You may have noticed that Randy  Suess (CHINET) no longer appears in the
  59. masthead. Due to time constraints, Randy has stepped down from  the Unix
  60. RoundTable staff.
  61.  
  62.   Randy has been ably replaced  by  our  new  Unix RT SysOp. His name is
  63. Chris North-Keys, and  he's  a  superb  Unix  programmer/SysAdmin. (He's
  64. managed to rewrite rule #0 in sendmail and get it to work)
  65.  
  66.        Chris' Username: HARP
  67.  
  68. WHO : Meet Chris North-Keys
  69. ---
  70. Christopher Alexander North-Keys has  studied music and computer science
  71. since 1985, and is currently on sabbatical to find out what it's for.  He
  72. worked as a computer lab assistant until 1988, thereafter becoming the sole
  73. systems administrator and guru on a medium-sized network of Sun machines,
  74. Amigas, and sundry.  He is a co-founder of group Talisman (a high-intensity
  75. UNIX group), owns a personal Sun network, and is involved with X11, UNIX,
  76. networking, distributed simulations, MIDI, software freedom,  and elves.
  77.  
  78. UPLOAD CONTEST:
  79. --------------
  80. From:   OLORIN                          David H. Weinstein
  81. To:     BT.RILEY                        Brian T. Riley
  82.  
  83. Sub: Upload Contest
  84.  
  85. Congratulations! You are  the  winner  of  this  month's Unix RoundTable
  86. upload contest. To set up your one  free  day  in  the  Unix RoundTable,
  87. we will  need  your  user  number,  and  the  day of the month which you
  88. would like to have free.
  89.  
  90.   You too can be the recipient of this message. Just start posting files
  91. to the Unix RT Libraries. Share  the  resources ! Not only will you help
  92. your fellow nixen, but the non-prime time spent uploading is never charged
  93. against your account.
  94.  
  95. HOT TOPICS !
  96. ----------
  97.  Selected Discussion Topics (have you been missing out ?)
  98.  ..........................
  99.  
  100.  Robert T. Morris convicted  Discuss the issues and ethics in  Cat 7 Top 15
  101.  
  102.  What is a Shell?   Category 4 Topic 1
  103.  
  104.  The 'C' Programming Language  Category 6 Topic 1
  105.  
  106.  Software Patents - Pro and Con  Category 11 Topic 3
  107.  
  108.  Security Groundrules  Category 16 Topic 1
  109.  
  110.  Porting to X windows  Category 17 Topic 3
  111.  
  112.  Mailer addressing (%@!) Category 7 Topic 11
  113.  
  114. HELP(1): 3.5" Floppy on your 3b1 (Help from the net)
  115. -------
  116. the sketchy requirements for making a 3.5" floppy work in the 3b1.  If it's
  117. configured for an IBM PeeCee it  WILL NOT WORK.  Sony's recent offerings in
  118. the 3.5" size are hardwired  for  PeeCee compatibility - no jumpers. :-(
  119. I know it won't work, I tried.  Gotta have jumpers.  I have a Mitsubishi in
  120. mine.  Works great.  Stores 1560 blocks on a disk with a default file system.
  121.  
  122. For Mitsubishi, short the following jumpers:
  123. SR MM IS DS0
  124. Also  notice  that  you  must  twist  the  data  cable  when  installing
  125. Mitsubishi drives.  It's very tight after the twist.
  126.  
  127. For Teac, short the following jumpers:
  128. RY DS0
  129.  
  130. ALL jumpers not mentioned above must be open.
  131.  
  132. Brad Isley, yer local tools blacksmith.
  133.  
  134.  FAST and NASTY, DOWN  and  DIRTY:  quick  fix scripts that do something
  135.  ------------------------------
  136.  Thanks to Mike Nolan (GEnie:MNOLAN) for sharing this system startup
  137.  time/date stamp:
  138. On our system, an  NCR  Tower/450,  there  is  a rather elaborate set of
  139. menus for system administration.  Unfortunately, the System
  140. Administrator is the only  one  with  the  power  to set the system date
  141. and time.
  142.  
  143. I have always felt that this is a relatively mundane task on systems which
  144. actually get shut down  at  night,  (unlike most unix sites, apparently)
  145. and is not a task you always want to have the  System  Administrator do,
  146. especially since the system administrator is not always the first one to
  147. arrive in the morning.  However, neither do I want to let the early bird
  148. get the  worm,  as  I would prefer to reserve OTHER system administrator
  149. tasks to myself, or a trusted assistant.
  150.  
  151. The following script is executed when user "startup" logs on, after which
  152. the system is placed in multi-user mode.  While both of these tasks have
  153. risks associated with them, they are much less dangerous than giving the
  154. power to destroy your file structures  to people who can actually get up
  155. that early every morning!
  156.  
  157. This script was provided by Jan B. Andersen, Roskilde University Center,
  158. Denmark.
  159.  
  160. #-------------[ /etc/bdate ]------------
  161. #
  162. # set the system date and time
  163. #
  164. #
  165. dig2()
  166. {
  167.         if [ $1 -lt 10 ]
  168.         then digits="0"`expr $1 + 0`
  169.         else digits=$1
  170.         fi
  171. }
  172.  
  173. TZ=US/Central
  174. export TZ
  175.  
  176. echo "\nSETTING System Date And Time\n"
  177.  
  178. ls -l > /dev/null; echo "\007\c"
  179. ls -l > /dev/null; echo "\007\c"
  180. ls -l > /dev/null; echo "\007\c"
  181.  
  182. echo "\nThe current date and time is : `date` \n"
  183.  
  184. echo "Is the above information correct?\c"
  185. echo "\tEnter \"y\" for yes or \"n\" for no : \007\c"
  186.  
  187. read answer
  188. if [ $answer = n ]
  189. then
  190.         set `date "+%m %d %H %M %y"`
  191.         m=$1 d=$2 h=$3 n=$4 y=$5
  192.         newdt=
  193.  
  194.         echo "\nEnter the month\t\t[$m] \c"
  195.         read val ; dig2 ${val:-$m} ; newdt=$digits
  196.  
  197.         echo "Enter the day\t\t[$d] \c"
  198.         read val ; dig2 ${val:-$d} ; newdt=${newdt}$digits
  199.  
  200.         echo "Enter the hour\t\t[$h] \c"
  201.         read val ; dig2 ${val:-$h} ; newdt=${newdt}$digits
  202.  
  203.         echo "Enter the minute\t[$n] \c"
  204.         read val ; dig2 ${val:-$n} ; newdt=${newdt}$digits
  205.  
  206.         echo "Enter the year\t\t[$y] \c"
  207.         read val ; dig2 ${val:-$y} ; newdt=${newdt}$digits
  208. fi
  209. date $newdt >/dev/null
  210.  
  211. case $? in
  212. 0)
  213.         echo "\nThe new date and time is : `date` \n"
  214.         ;;
  215. *)
  216.         $0
  217. esac
  218. /menu/script/multiuser.sh
  219. #
  220.  
  221. This is actually a more interesting script than it might seem if you are
  222. not very adept at script writing.  I study every script I get, in the hopes
  223. that eventually I will actually learn something!
  224.  
  225. Michael E. Nolan
  226.  
  227. BEGINNERS PERSPECTIVE: Mike Nolan has also graciously consented to writing
  228. ---------------------  a column for the Unix RT N/L with a slight twist.
  229.                        I think you'll enjoy it. I did !  GARS
  230.  
  231. Uncorking Unix by Michael Nolan
  232.  
  233. (What else would you call a column on unix for GEnie?)
  234.  
  235. By way of a brief  explanation, this column (probably monthly, depending
  236. upon my spare time, ha ha, and the whims of the great  and  powerful OZ,
  237. UNIXSYSOPS$ )  will be an attempt to explore the mysteries of unix, great
  238. and (mostly) small.
  239.  
  240. My alternate title was "what your guru didn't teach you about unix".
  241.  
  242. One difference between this column and others is that I will be trying to
  243. figure things out at the same time as those reading the column.  Another
  244. way of putting this is that it is a column by a unix greenhorn for OTHER
  245. unix greenhorns; some other columns seem to be written by unix wizards and
  246. are intelligible primarily only to OTHER unix wizards.
  247.  
  248. For those of you who didn't slug through my bio on the bulletin board, I
  249. am a 'lifer', I started programming in 1967 and have been doing it for a
  250. living for around 18 years.  I only started unix in October, 1989, though,
  251. and that is what should make this column interesting.
  252.  
  253. I don't have the time, patience, or money to sit through six weeks of unix
  254. classes, and most of the 'beginner'  books bore me, since they seem more
  255. about teaching what files are and other computer mechanics than about the
  256. peculiarities of unix compared to other (probably equally obtuse) operating
  257. systems.
  258.  
  259. So, I'm trying to 'figure it out' on my own, with a lot of help from support
  260. groups such as this roundtable.  I'm stupid enough to blunder my way through
  261. things without knowing that  something  is 'impossible' until after I've
  262. already got it working.
  263.  
  264. When my company shelled out around $15,000 for our unix system last fall,
  265. I didn't realize that we  were  likely  to fork over ANOTHER $15,000 for
  266. various books  and  magazines  on  unix.  So  far,  I  have  learned one
  267. significant fact:  ALL THE BOOKS ARE WRONG!
  268.  
  269. Unix comes in at least as many flavors as Baskins-Robbins, and with multiple
  270. versions and patches (and 'enhancements'), there are probably not very many
  271. unix systems out there that have IDENTICAL operating environments.
  272.  
  273. This means that whenever you 'look it up', you are likely to get some wrong
  274. advice; not because the author is an idiot, but because the author's system
  275. does it differently than yours, even if it's the 'same' release of unix!
  276.  
  277. This means that you have to read these books with more than just a grain of
  278. salt.  (The 25 pound blocks that they use for cattle pens seems about right!)
  279.  
  280. Take, for example,  your  PATH  variable.  As  those  of you with MS-DOS
  281. experience know, the PATH is the list of directories that will be searched
  282. whenever you type a command.  (If it  doesn't  find  an  executable file
  283. by that name in any of those directories, you get a "not found "message.
  284.  
  285. I have several books which state that the proper structure for your PATH
  286. variable is to begin with a colon, signifying your current working directory,
  287. and then  to  proceed with others, such as /bin, /usr/bin, and so forth.
  288.  
  289. EXAMPLE:  PATH=:/bin:/usr/bin
  290.  
  291. I have OTHER books which suggest that for security purposes, the current
  292. working directory should be the LAST item in the list. This makes good sense,
  293. since you don't want a potentially hostile user to usurp a command by placing
  294. a file with that name in the current working directory, and then have that
  295. command called by a predefined  shell  script in place of the original.
  296.  
  297. EXAMPLE:  PATH=/bin:/usr/bin:
  298.  
  299. Unfortunately, the second example DOESN'T WORK on my system.  It searches 
  300. all the other directories, but not the current working directory. Under the
  301. 'grain of salt' theory, I decided that if it wasn't looking for my current
  302. working directory implicitly, I would make it do so explicitly:
  303.  
  304. EXAMPLE:  PATH=/bin:/usr/bin:.
  305.  
  306. The difference is the period at the  end.  I figured if it stood for the
  307. current working directory in a change directory (cd) command, it might work
  308. here too.  It does.
  309.  
  310. If you want to search the current working directory in the middle of the
  311. sequence, you should only need two adjacent colons:
  312.  
  313. EXAMPLE:  PATH=/bin::/usr/bin
  314.  
  315. Lo and behold, that works  on  my  system.  It's  only at the END of the
  316. command that it gets into trouble.  This is probably a bug in my version
  317. of unix, but nothing's perfect.
  318.  
  319. One final word of warning.  The  PATH variable doesn't take effect until
  320. you export it.
  321.  
  322. EXAMPLE    export PATH
  323.  
  324.   --------
  325.    REMINDER - This newsletter is being sent to you 'by request'. If you do
  326.  not wish to keep receiving it, e-mail a stop notice to GARS. On the other
  327.  hand, we would very much appreciate it if you would pass the word that we
  328.  do distribute this item near the tenth (10th) of each  month to anyone on
  329.  GEnie who requests it, and will gladly add any name that is requested via
  330.  the same route - email to GARS.
  331.  
  332.  (EOF)
  333.  
  334.  Trademark and Copyright notices:
  335.  Unix is a Trademark of  AT&T, GEnie, LiveWire, and RoundTable are Trademarks
  336.  of General Electric Information Services  Company,  Xenix is a Trademark  of
  337.  Microsoft  Corporation, Computer Shopper is a Trademark of Costal Associates
  338.  Publishing LP, Unix World is a Trademark of McGraw-Hill.
  339.  
  340. The contents of this newsletter are copyright (c) 1990 and may be copied whole
  341. or in part only if  original  credit is included. The GEnie UNIX RoundTable is
  342. not affiliated with AT&T.
  343. ay be copied whole
  344. or in part only if  or